﻿@model SimpleTaskManager.WebUI.Models.SetupModel

@{
    ViewBag.Title = "Setup";
}

<h2>Setup</h2>

@using (Html.BeginForm(new { parentId = ViewBag.ParentId }))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Administrator account</legend>

        <div class="editor-label">
            <label>Administrator login name</label>
        </div>
        <div class="editor-field">
            <label>admin</label>
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AdminPass)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AdminPass)
            @Html.ValidationMessageFor(model => model.AdminPass)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AdminPassRep)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AdminPassRep)
            @Html.ValidationMessageFor(model => model.AdminPassRep)
        </div>

        <div style="clear: left;" />

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}